import React, { memo } from 'react'
import { Button } from "antd";
export default memo(function login(props) {
    return (
        <div>
            <Button type="primary" onClick={()=>{
                sessionStorage.setItem('token','true')
                props.history.push('/')
            }}>
                登陆
            </Button>
        </div>
    )
})
